package com.varian.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.varian.mybatis.base.IBaseService;
import com.varian.system.dto.SysBizExceptionDTO;
import com.varian.system.dto.SysBizExceptionPageDTO;
import com.varian.system.entity.SysBizException;
import com.varian.system.vo.SysBizExceptionVO;

/**
 * @author ben
 * @since 2024/9/24
 */
public interface ISysBizExceptionService extends IBaseService<SysBizException> {

    Page<SysBizExceptionVO> page(SysBizExceptionPageDTO dto);

    SysBizExceptionVO detail(Long id);

    boolean add(SysBizExceptionDTO dto);

    boolean modify(Long id, SysBizExceptionDTO dto);

    boolean delete(Long id);

    String getMessageByCode(String bizCode);
}
